package com.happy.study.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Author: Wuzh
 * @Description:
 * @Date Created in 13:32 2022-08-14
 * @return
 */
@TableName ("user_note_info")
public class StuNoteEntity extends BaseEntity {

    @TableId ("id")
    private Integer id;

    @TableField ("userId")
    private Integer userId;

    @TableField ("noteId")
    private Integer noteId;

    public StuNoteEntity () {
    }

    public StuNoteEntity (Integer userId, Integer noteId) {
        this.userId = userId;
        this.noteId = noteId;
    }

    public Integer getId () {
        return id;
    }

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getUserId () {
        return userId;
    }

    public void setUserId (Integer userId) {
        this.userId = userId;
    }

    public Integer getNoteId () {
        return noteId;
    }

    public void setNoteId (Integer noteId) {
        this.noteId = noteId;
    }
}
